package com.yunlongcoding.cahuomarketing.result;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * 根据商品id查询商品详情结果对象
 *
 * @author 王云龙
 * @version 1.0
 * @date 8/8/2018  5:03 PM
 */
public class GoodsInfoResult implements Serializable {

    private static final long serialVersionUID = 3057537058563827268L;

    // 主键id
    private Long id;

    // 商品分类
    private Long categoryId;

    // 商品名称
    private String goodsName;

    // 商品描述
    private String goodsDescription;

    private String goodsPic1;

    private String goodsPic2;

    private String goodsPic3;

    // 商品详情
    private String content;

    // 商品编号
    private Long goodsNumber;

    // 商品价格（消费金）
    private BigDecimal price;

    // 商品市场价
    private BigDecimal marketPrice;

    // 商品库存
    private Long totalStock;

    // 商品所需积分
    private BigDecimal integral;

    // 所属商城，标识属于商城还是积分商城，0商城，1积分商城
    private Short belongTo;

    // 商品总评论数
    private Long totalComment;

    // 总收藏数
    private Long totalCollect;

    // 商品总销量
    private Long totalSalesVolume;

    // 商品月销量
    private Long monthSalesVolume;

    // 商品规格
    private List<GoodsSpecificationResult> goodsSpecificationList ;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDescription() {
        return goodsDescription;
    }

    public void setGoodsDescription(String goodsDescription) {
        this.goodsDescription = goodsDescription;
    }

    public String getGoodsPic1() {
        return goodsPic1;
    }

    public void setGoodsPic1(String goodsPic1) {
        this.goodsPic1 = goodsPic1;
    }

    public String getGoodsPic2() {
        return goodsPic2;
    }

    public void setGoodsPic2(String goodsPic2) {
        this.goodsPic2 = goodsPic2;
    }

    public String getGoodsPic3() {
        return goodsPic3;
    }

    public void setGoodsPic3(String goodsPic3) {
        this.goodsPic3 = goodsPic3;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Long goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Long getTotalStock() {
        return totalStock;
    }

    public void setTotalStock(Long totalStock) {
        this.totalStock = totalStock;
    }

    public BigDecimal getIntegral() {
        return integral;
    }

    public void setIntegral(BigDecimal integral) {
        this.integral = integral;
    }

    public Short getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(Short belongTo) {
        this.belongTo = belongTo;
    }

    public Long getTotalComment() {
        return totalComment;
    }

    public void setTotalComment(Long totalComment) {
        this.totalComment = totalComment;
    }

    public Long getTotalCollect() {
        return totalCollect;
    }

    public void setTotalCollect(Long totalCollect) {
        this.totalCollect = totalCollect;
    }

    public Long getTotalSalesVolume() {
        return totalSalesVolume;
    }

    public void setTotalSalesVolume(Long totalSalesVolume) {
        this.totalSalesVolume = totalSalesVolume;
    }

    public Long getMonthSalesVolume() {
        return monthSalesVolume;
    }

    public void setMonthSalesVolume(Long monthSalesVolume) {
        this.monthSalesVolume = monthSalesVolume;
    }

    public List<GoodsSpecificationResult> getGoodsSpecificationList() {
        return goodsSpecificationList;
    }

    public void setGoodsSpecificationList(List<GoodsSpecificationResult> goodsSpecificationList) {
        this.goodsSpecificationList = goodsSpecificationList;
    }


    @Override
    public String toString() {
        return "GoodsInfoResult{" +
                "id=" + id +
                ", categoryId=" + categoryId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsDescription='" + goodsDescription + '\'' +
                ", goodsPic1='" + goodsPic1 + '\'' +
                ", goodsPic2='" + goodsPic2 + '\'' +
                ", goodsPic3='" + goodsPic3 + '\'' +
                ", content='" + content + '\'' +
                ", goodsNumber=" + goodsNumber +
                ", price=" + price +
                ", marketPrice=" + marketPrice +
                ", totalStock=" + totalStock +
                ", integral=" + integral +
                ", belongTo=" + belongTo +
                ", totalComment=" + totalComment +
                ", totalCollect=" + totalCollect +
                ", totalSalesVolume=" + totalSalesVolume +
                ", monthSalesVolume=" + monthSalesVolume +
                ", goodsSpecificationList=" + goodsSpecificationList +
                '}';
    }
}
